import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { ChargeStrategy } from 'src/entities/ChargeStrategy';
import { Repository } from 'typeorm';
import { BaseModelService } from '../base-model/base-model.service';

@Injectable()
export class ChargeStrategyModelService extends BaseModelService<ChargeStrategy>{
    constructor(
        @InjectRepository(ChargeStrategy) protected repository:Repository<ChargeStrategy>
    ){
        super()
        this.primaryKey = 'strategyId'
    }
}
